package co.com.tye.modelo.control;

import co.com.tye.modelo.Criterios;
import co.com.tye.modelo.dto.CriteriosDTO;

import java.math.BigDecimal;

import java.util.*;
import java.util.Date;
import java.util.List;
import java.util.Set;


/**
* @author Zathura Code Generator http://code.google.com/p/zathura/
* www.zathuracode.org
*
*/
public interface ICriteriosLogic {
    public List<Criterios> getCriterios() throws Exception;

    /**
         * Save an new Criterios entity
         */
    public void saveCriterios(Criterios entity) throws Exception;

    /**
         * Delete an existing Criterios entity
         *
         */
    public void deleteCriterios(Criterios entity) throws Exception;

    /**
        * Update an existing Criterios entity
        *
        */
    public void updateCriterios(Criterios entity) throws Exception;

    /**
         * Load an existing Criterios entity
         *
         */
    public Criterios getCriterios(Integer idcriterios)
        throws Exception;

    public List<Criterios> findByCriteria(Object[] variables,
        Object[] variablesBetween, Object[] variablesBetweenDates)
        throws Exception;

    public List<Criterios> findPageCriterios(String sortColumnName,
        boolean sortAscending, int startRow, int maxResults)
        throws Exception;

    public Long findTotalNumberCriterios() throws Exception;

    public List<CriteriosDTO> getDataCriterios() throws Exception;
}
